package cn.yunyichina.provider.sb.vo;

import cn.yunyichina.provider.sb.entity.MedicalChecking;

/**
 * Created by 15-AK on 2017/7/12.
 */
public class MedicalOutpatientCheckingVo {

    /**	门诊流水号	String(64)	唯一标示一次门诊	不可空	125617814957521000*/
    private String  outpatientSerialNo;
    /**检验记录ID	String(64)	检验报告唯一号	不可空*/
    private String checkRecordId;
    /**报案号	String(64)		不可空**/
    private String caseNo;
    /**病人ID	String(64)	病人的唯一标示号 关联基本信息病人ID号	不可空	125336754304601000**/
    private String patientId;
    /**送检医院代码	String(8)		可空***/
    private String inspectHospitalNo;
    /**送检医院名称	String(256)		可空**/
    private String inspectHospitalName;
    /**检验时间	Date	YYYY-MM-DD HH24:MI:SS	可空**/
    private String checkDate;
    /***送检科室名称	String(256)		可空*/
    private String inspectDeptName;
    /***送检科室ID	String(16)		可空*/
    private String inspectDeptNo;
    /*送检医生姓名	String(10)		可空**/
    private String inspectDoctorName;
    /**送检医生ID	String(16)		可空*/
    private String inspectDoctorNo;
    /**检验类别代码	String(1)	1-普通检验，2-细菌培养	不可空***/
    private Short checkCategoryNo;
    /**检验科室名称	String(64)		不可空**/
    private String checkDeptName;
    /**检验科室编码	String(8)		可空**/
    private String checkDeptNo;
    /**执行医生姓名	String(8)		可空**/
    private String executiveDoctorName;
    /**执行医生_ID	String(16)		可空**/
    private String executiveDoctorNo;
    /**执行医生_ID	String(16)		可空**/
    private String auditDoctorName;
    /**审核医生_ID	String(16)		可空**/
    private String  auditDoctorNo	;
    /**病人类型:门诊/住院/急诊	String(1)	1-门诊，2-住院，3-急诊，4-体检，5-其他	可空**/
    private Short patientType;
    /**结果描述（定性）	String(1024)		不可空**/
    private String  resultDesc;
    /**总条数	String(16)	记录总条数	不可空	1**/
    private Integer rows;
    /**总条数	String(16)	记录总条数	不可空	1**/
    private Integer offset;

    public String getOutpatientSerialNo() {
        return outpatientSerialNo;
    }

    public void setOutpatientSerialNo(String outpatientSerialNo) {
        this.outpatientSerialNo = outpatientSerialNo;
    }

    public String getCheckRecordId() {
        return checkRecordId;
    }

    public void setCheckRecordId(String checkRecordId) {
        this.checkRecordId = checkRecordId;
    }

    public String getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(String caseNo) {
        this.caseNo = caseNo;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getInspectHospitalNo() {
        return inspectHospitalNo;
    }

    public void setInspectHospitalNo(String inspectHospitalNo) {
        this.inspectHospitalNo = inspectHospitalNo;
    }

    public String getInspectHospitalName() {
        return inspectHospitalName;
    }

    public void setInspectHospitalName(String inspectHospitalName) {
        this.inspectHospitalName = inspectHospitalName;
    }

    public String getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(String checkDate) {
        this.checkDate = checkDate;
    }

    public String getInspectDeptName() {
        return inspectDeptName;
    }

    public void setInspectDeptName(String inspectDeptName) {
        this.inspectDeptName = inspectDeptName;
    }

    public String getInspectDeptNo() {
        return inspectDeptNo;
    }

    public void setInspectDeptNo(String inspectDeptNo) {
        this.inspectDeptNo = inspectDeptNo;
    }

    public String getInspectDoctorName() {
        return inspectDoctorName;
    }

    public void setInspectDoctorName(String inspectDoctorName) {
        this.inspectDoctorName = inspectDoctorName;
    }

    public String getInspectDoctorNo() {
        return inspectDoctorNo;
    }

    public void setInspectDoctorNo(String inspectDoctorNo) {
        this.inspectDoctorNo = inspectDoctorNo;
    }

    public Short getCheckCategoryNo() {
        return checkCategoryNo;
    }

    public void setCheckCategoryNo(Short checkCategoryNo) {
        this.checkCategoryNo = checkCategoryNo;
    }

    public String getCheckDeptName() {
        return checkDeptName;
    }

    public void setCheckDeptName(String checkDeptName) {
        this.checkDeptName = checkDeptName;
    }

    public String getCheckDeptNo() {
        return checkDeptNo;
    }

    public void setCheckDeptNo(String checkDeptNo) {
        this.checkDeptNo = checkDeptNo;
    }

    public String getExecutiveDoctorName() {
        return executiveDoctorName;
    }

    public void setExecutiveDoctorName(String executiveDoctorName) {
        this.executiveDoctorName = executiveDoctorName;
    }

    public String getExecutiveDoctorNo() {
        return executiveDoctorNo;
    }

    public void setExecutiveDoctorNo(String executiveDoctorNo) {
        this.executiveDoctorNo = executiveDoctorNo;
    }

    public String getAuditDoctorName() {
        return auditDoctorName;
    }

    public void setAuditDoctorName(String auditDoctorName) {
        this.auditDoctorName = auditDoctorName;
    }

    public String getAuditDoctorNo() {
        return auditDoctorNo;
    }

    public void setAuditDoctorNo(String auditDoctorNo) {
        this.auditDoctorNo = auditDoctorNo;
    }

    public Short getPatientType() {
        return patientType;
    }

    public void setPatientType(Short patientType) {
        this.patientType = patientType;
    }

    public String getResultDesc() {
        return resultDesc;
    }

    public void setResultDesc(String resultDesc) {
        this.resultDesc = resultDesc;
    }

    public Integer getTotalRows() {
        return rows;
    }

    public void setTotalRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getCurrentOffset() {
        return offset;
    }

    public void setCurrentOffset(Integer offset) {
        this.offset = offset;
    }

    public MedicalChecking buildMedicalChecking(){
        MedicalChecking medicalChecking = new MedicalChecking();
        medicalChecking.setBusinessFeeId("125617814957521000");
        medicalChecking.setInspectId("125617814957521000");
        medicalChecking.setCaseNo("125617814957521000");
        medicalChecking.setPatId("125336754304601000");
        medicalChecking.setInspectType(new Short("1"));
        medicalChecking.setInspectDeptName("检验科");
        medicalChecking.setResultDesc("结果良好");
        medicalChecking.setTotalRows(1);
        medicalChecking.setCurrentOffset(1);
        return medicalChecking;
    }

    public MedicalOutpatientCheckingVo buildMedicalOutpatientCheckingVo(MedicalChecking medicalOutpatientChecking){
        this.setOutpatientSerialNo(medicalOutpatientChecking.getBusinessFeeId());
        this.setCheckRecordId(medicalOutpatientChecking.getInspectId());
        this.setCaseNo(medicalOutpatientChecking.getCaseNo());
        this.setPatientId(medicalOutpatientChecking.getPatId());
        this.setCheckCategoryNo(medicalOutpatientChecking.getInspectType());
        this.setInspectDeptName(medicalOutpatientChecking.getSendDeptName());
        this.setCheckDeptName(medicalOutpatientChecking.getInspectDeptName());
        this.setResultDesc(medicalOutpatientChecking.getResultDesc());
        this.setTotalRows(medicalOutpatientChecking.getTotalRows());
        this.setCurrentOffset(medicalOutpatientChecking.getCurrentOffset());
        return this;
    }


}
